package com.codeoss.framework.view.component;

import com.codeoss.framework.expression.Expression;
import com.codeoss.framework.util.LookupInfo;

public class Label extends Component implements IDataBinding,IDataBindSource,IDataType,IVarName,ILabel,ILookup {
	private Expression labelExpression;

	private String dataSource;
	private String dataField;
	private String varName;
	private String dataType;
	
	private LookupInfo lookupInfo;
	public Expression getLabelExpression() {
		return labelExpression;
	}

	public void setLabelExpression(Expression labelExpression) {
		this.labelExpression = labelExpression;
	}

	public String getDataSource() {
		return dataSource;
	}

	public void setDataSource(String dataSource) {
		this.dataSource = dataSource;
	}

	public String getDataField() {
		return dataField;
	}

	public void setDataField(String dataField) {
		this.dataField = dataField;
	}

	public String getVarName() {
		return varName;
	}

	public void setVarName(String varName) {
		this.varName = varName;
	}

	@Override
	public void setDataType(String dataType) {
		// TODO Auto-generated method stub
		this.dataType=dataType;
	}

	@Override
	public String getDataType() {
		// TODO Auto-generated method stub
		return dataType;
	}
	
	@Override
	public String getType() {
		// TODO Auto-generated method stub
		return "label";
	}

	@Override
	public LookupInfo getLookupInfo() {
		// TODO Auto-generated method stub
		return lookupInfo;
	}

	@Override
	public void setLookupInfo(LookupInfo lookupInfo) {
		// TODO Auto-generated method stub
		this.lookupInfo=lookupInfo;
	}
}
